package com.zlq.easydbutils.test.dao;

import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
import com.mchange.v2.c3p0.ComboPooledDataSource;
import com.zlq.easydbutils.EasyDataSource;

public class MyEasyDataSource4c3p0 implements EasyDataSource{
	private static ComboPooledDataSource dataSource = new ComboPooledDataSource();
	public  DataSource getDataSource(){
		return dataSource;
	}
	public  Connection getConnection() throws SQLException{
		return dataSource.getConnection();
	}
}
